package com.zty.xiaomi.server.Service.Insurance;

import com.zty.xiaomi.server.Entity.Insurance.Insurance;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.util.List;

@Component
public interface InsuranceService {
    List<Insurance> getInsuranceByCategoryId(int category_id) throws IOException;

    Insurance getInsuranceByInsuranceId(int insurance_id) throws IOException;
}
